/**
 * 
 */
package cn.com.innodev.withyou.business.api.crm;

import com.vanstone.common.lang.BaseEnum;

/**
 * @author shipeng <br />
 *
 */
public enum UserState implements BaseEnum<Integer> {

  Waiting("等待状态", 0), Active("正常状态", 1), Forbited("禁用状态", 10);

  private String desc;
  private Integer code;

  private UserState(String desc, Integer code) {
    this.desc = desc;
    this.code = code;
  }

  @Override
  public Integer getCode() {
    return this.code;
  }

  @Override
  public String getDesc() {
    return this.desc;
  }

}
